﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MaterialDetail2.aspx.cs"
    Inherits="RN.ERP.Web.Material.Material.MaterialDetail2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../Styles/skins/ytblue/css/style.css" rel="stylesheet" type="text/css" />
    <link rel="Stylesheet" type="text/css" href="../../Scripts/ligerUI/skins/Aqua/css/ligerui-all.css" />
    <script src="../../Scripts/jquery-1.7.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../Scripts/ligerUI/js/ligerui.min.js"></script>
    <script type="text/javascript">
        function OpenAlert(text) {
            $.ligerDialog.warn(text);
            return false;
        }
        $(function () {

            $(".return_a").click(function () {
                parent.window.CloseWin("0");
                window.parent.$.ligerDialog.close(); ////关闭dialog
                parent.$(".l-dialog,.l-window-mask").hide(); ////去除父窗体遮罩层
            });
        })
        function CloseWin() {
            parent.window.CloseWin("1");
            window.parent.$.ligerDialog.close(); ////关闭dialog
            parent.$(".l-dialog,.l-window-mask").hide(); ////去除父窗体遮罩层
        }
    </script>
    <style type="text/css">
        .IE6png
        {
            behavior: url("\Scripts\iepngfix.htc");
        }
        .text_css
        {
            border-style: none;
            border-color: inherit;
            border-width: 2px;
            line-height: 24px;
        }
        .icon_li
        {
            padding: 0px 20px;
            background: url(\images\icon_li.jpg) repeat-x;
            float: right;
        }
        .icon_li a
        {
            line-height: 48px;
            display: block;
            color: #936205;
            font-size: 18px;
            font-weight: bold;
            text-align: center;
        }
        .icon_li a:hover
        {
            text-decoration: none;
        }
        .dbtype
        {
            padding-right: 15px;
            display: block;
            width: 85px;
            float: left;
            line-height: 22px;
            height: 22px;
        }
        #txtAreMemo
        {
            width: 329px;
            height: 139px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:HiddenField ID="hdnId" runat="server" ClientIDMode="Static" />
    <div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td width="16" class="title_lbg IE6png">
                </td>
                <td width="24" class="title_t IE6png">
                </td>
                <td width="600" class="title_libg IE6png">
                </td>
                <td width="17" class="title_rbg IE6png">
                </td>
            </tr>
            <tr id="tbCorp" runat="server">
                <td class="border_lbg IE6png">
                    &nbsp;
                </td>
                <td colspan="2" style="padding-top: 16px; padding-left: 6px; padding-right: 6px;">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab" style="margin-bottom: 15px;">
                        <tr>
                            <td width="25%" bgcolor="#f2f2f2">
                                请选择物资属性类型
                            </td>
                            <td height="31" style="text-align: left;">
                                <asp:DropDownList ID="ddlMPClass" runat="server" Width="50%" 
                                    OnSelectedIndexChanged="ddlMPClass_SelectedIndexChanged" AutoPostBack="True">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <asp:Repeater ID="rptMPInfo" runat="server" OnItemDataBound="rptMPInfo_ItemDataBound">
                            <ItemTemplate>
                                <tr>
                                    <td width="25%" bgcolor="#f2f2f2">
                                        <%# Eval("cMPIName")%>
                                    </td>
                                    <td height="31" style="text-align: left;">
                                        <asp:HiddenField ID="hdnCode" runat="server" Value='<%# Eval("cMPICode") %>' />
                                        <asp:HiddenField ID="hdniMPIKind" runat="server" Value='<%# Eval("iMPIKind") %>' />
                                        <asp:HiddenField ID="hdncMPIInfo" runat="server" Value='<%# Eval("cMPIInfo") %>' />
                                        <asp:TextBox ID="txtSingle" Width="50%" runat="server" Visible="false"></asp:TextBox>
                                        <asp:TextBox ID="txtMulti" Width="50%" runat="server" Height="50px" Visible="false" TextMode="MultiLine"></asp:TextBox>
                                        <asp:DropDownList ID="ddlSelect" runat="server" Width="50%" Visible="false">
                                        </asp:DropDownList>
                                        <asp:CheckBoxList ID="cbSelect" runat="server"  Width="50%" Visible="false" RepeatDirection="Horizontal">
                                        </asp:CheckBoxList>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 15px;">
                        <tr>
                            <td width="200">
                                &nbsp;
                            </td>
                            <td width="100" style="text-align: center;">
                                <div class="icon01 IE6png">
                                    <asp:LinkButton ID="LButSave" runat="server" ValidationGroup="aa" OnClick="lbtnSave_Click">保存</asp:LinkButton>
                                </div>
                            </td>
                            <td width="100">
                                <%-- <div class="icon02 IE6png">
                                <asp:LinkButton ID="lbtnReturn" runat="server" CssClass="return_a" ClientIDMode="Static">返回</asp:LinkButton>
                            </div>--%>
                            </td>
                            <td width="200">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
                <td class="border_rbg IE6png">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="border_lconer IE6png" headers="17">
                    &nbsp;
                </td>
                <td colspan="2" class="border_bottomli IE6png" height="17">
                    &nbsp;
                </td>
                <td class="border_rconer IE6png" headers="17">
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
